package com.hh.admin.mapper;

import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hh.admin.entity.SysMenu;
import com.hh.core.entity.ZtreeEntity;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author hxn
 * @since 2018-01-16
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

	List<String> getUrlByRoleId(@Param("roleId")Long roleId);
	
	List<SysMenu> getMenuList(@Param("roleList")Set<Long> roleList);
	
	List<SysMenu> getMenuList();
	
	List<ZtreeEntity> getMenuTreeByRoleId(@Param("roleId")Long roleId);
}